<!-- 积分规则 -->
<template>
	<view>
		<u-navbar :isFixed="true" title="积分规则" :borderBottom="false"></u-navbar>
		<!-- 富文本 -->
		<view class="uParse">
			<uParse class :content="article" ></uParse>
		</view>
	</view>
</template>

<script>
	var _this;
	export default {
		data() {
			return {
				article:"",
			}
		},
		onLoad(options) {
			_this = this
			_this.getdata()
		},
		methods: {
			// 获取数据
			getdata() {
				_this.$api.get("irule", {}).then(data => {
					_this.article = data.content
				});
			},
		}
	}
</script>

<style lang="scss" scoped>
	.uParse{
		padding:50rpx;
		font-size: 30rpx;
		font-family: PingFang SC, PingFang SC-Medium;
		font-weight: 500;
		text-align: left;
		color: #000000;
	}
</style>
